package cn.bincker.mycaptcha.basic;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * 警卫
 * 负责判断请求是否需要进行验证
 */
public interface CaptchaGuard {
    boolean match(HttpServletRequest request);
    void check(HttpServletRequest request, HttpServletResponse response);
}
